package com.app.miwawa.api.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.framework.common.api.entity.CommonEntityUUID;
import org.framework.common.api.support.annotation.Tree;

/**
 * 系统管理－权限
 * <p>描述: </p>
 * <p>Company: Professional</p>
 * @author chanlong(陈龙)
 * @date 2016年3月29日 下午5:07:19
 * @version 1.0.2016
 */
@Entity @Table(name = "TB_SYSTEM_AUTHS")
public class Auths extends CommonEntityUUID {
	
	/** serialVersionUID(long):. */
	private static final long serialVersionUID = -7103183538358433418L;
	
	// 角色ID
	@Column(name = "groups_id", length = 50, nullable = true)
	private String groupsid;
	
	// 资源ID
	@Tree("treeid")
	@Column(name = "assets_id", length = 50, nullable = true)
	private String assetsid;
	
	// 资源ID
	@Column(name = "assets_pid", length = 50, nullable = true)
	private String assetspid;
	
	// 资源编码
	@Column(name = "assets_code", length = 50, nullable = true)
	private String assetsCode;
		
	// 资源类型
	@Column(name = "assets_type", length = 10, nullable = true)
	private String assetsType;
	
	public String getGroupsid() {
		return groupsid;
	}

	public void setGroupsid(String groupsid) {
		this.groupsid = groupsid;
	}

	public String getAssetsid() {
		return assetsid;
	}

	public void setAssetsid(String assetsid) {
		this.assetsid = assetsid;
	}

	public String getAssetspid() {
		return assetspid;
	}

	public void setAssetspid(String assetspid) {
		this.assetspid = assetspid;
	}

	public String getAssetsCode() {
		return assetsCode;
	}

	public void setAssetsCode(String assetsCode) {
		this.assetsCode = assetsCode;
	}

	public String getAssetsType() {
		return assetsType;
	}

	public void setAssetsType(String assetsType) {
		this.assetsType = assetsType;
	}
	
}
